package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**

 * 商铺评论对象 tb_shop_comments

 *

 * @author ruoyi

 * @date 2025-06-09
 */
public class ShopComments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 商铺id */
    @Excel(name = "商铺id")
    private String shopId;

    /** 评论的内容 */
    @Excel(name = "评论的内容")
    private String content;

    /** 评分，1~5分，乘10保存，避免小数 */
    @Excel(name = "评分，1~5分，乘10保存，避免小数")
    private Integer score;

    /** 状态，0：正常，1：禁止查看 */
    @Excel(name = "状态，0：正常，1：禁止查看")
    private String status;

    /** 逻辑删除，0：正常 1：已删除 */
    @Excel(name = "逻辑删除，0：正常 1：已删除")
    private Long isDeleted;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setShopId(String shopId)
    {
        this.shopId = shopId;
    }

    public String getShopId()
    {
        return shopId;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setScore(Integer score)
    {
        this.score = score;
    }

    public Integer getScore()
    {
        return score;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("shopId", getShopId())
                .append("content", getContent())
                .append("score", getScore())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("status", getStatus())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}